package com.lilinling.yinzhi.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lilinling.common.utils.PageUtils;
import com.lilinling.common.utils.Query;

import com.lilinling.yinzhi.user.dao.MakerInfoDescDao;
import com.lilinling.yinzhi.user.entity.MakerInfoDescEntity;
import com.lilinling.yinzhi.user.service.MakerInfoDescService;


@Service("makerInfoDescService")
public class MakerInfoDescServiceImpl extends ServiceImpl<MakerInfoDescDao, MakerInfoDescEntity> implements MakerInfoDescService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MakerInfoDescEntity> page = this.page(
                new Query<MakerInfoDescEntity>().getPage(params),
                new QueryWrapper<MakerInfoDescEntity>()
        );

        return new PageUtils(page);
    }

}